﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmAdminGuiaDespacho.aspx.vb" Inherits="Interfaz_frmAdminGuiaDespacho" title="Untitled Page" %>

<%@ Register Assembly="BasicFrame.WebControls.BasicDatePicker" Namespace="BasicFrame.WebControls"
    TagPrefix="BDP" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center>
    <table>
        <tr>
            <td>
    <table style="width: 933px; background-color: white; border-bottom: mediumblue thin double;">
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 400px; border-bottom: blue thin solid; height: 21px; text-align: center;">
                <table style="width: 100%; border-bottom: mediumblue thin double; background-color: white">
                    <tr>
                        <td style="width: 329px; text-align: left">
                            <strong>INGRESO GUIA DE DESPACHO</strong></td>
                    </tr>
                </table>
                <table style="width: 933px; border-bottom: mediumblue thin double; background-color: white;">
                    <tr>
                        <td style="width: 173px; height: 22px; text-align: right">
                            Cliente :</td>
                        <td style="width: 200px; height: 22px; text-align: left">
                            <asp:DropDownList ID="DropCliente" runat="server" Width="208px">
                            </asp:DropDownList></td>
                        <td style="width: 156px; height: 22px; text-align: right">
                            Fecha :</td>
                        <td style="height: 22px; text-align: left">
                            <BDP:BasicDatePicker ID="BasicDatePicker1" runat="server" DateFormat="D-MMM-yyyy"
                                ReadOnly="True" Width="300px">
                            </BDP:BasicDatePicker>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 173px; height: 26px; text-align: right;">
                            Requisicion :</td>
                        <td style="width: 200px; text-align: left; height: 26px;">
                            <asp:DropDownList ID="DropRequisicion" runat="server" Width="208px">
                            </asp:DropDownList></td>
                        <td style="width: 156px; text-align: right; height: 26px;">
                            Orden de Compra :</td>
                        <td style="text-align: left; height: 26px;">
                            <asp:DropDownList ID="DropOrdenCompra" runat="server" Width="184px">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td style="width: 173px; text-align: right">
                            Condiciones de Venta :</td>
                        <td style="width: 200px; text-align: left">
                            <asp:TextBox ID="TxtCondVenta" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 156px">
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
            </td>
        </tr>
        <tr>
            <td>
    <table style="width: 933px; background-color: white; border-bottom: mediumblue thin double;">
        <tr>
            <td style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                width: 400px; border-bottom: blue thin solid; height: 21px; text-align: center;">
                <table style="width: 933px; border-bottom: mediumblue thin double; background-color: white">
                    <tr>
                        <td style="width: 183px; text-align: left">
                            <strong>INGRESO ITEM&nbsp;</strong></td>
                    </tr>
                </table>
                <table style="width: 933px; border-bottom: mediumblue thin double; background-color: white;">
                    <tr>
                        <td style="width: 150px; text-align: right">
                            Nombre :</td>
                        <td style="width: 199px; text-align: left">
                            <asp:DropDownList ID="DropItem" runat="server" Width="200px">
                            </asp:DropDownList></td>
                        <td style="width: 17px">
                        </td>
                        <td style="width: 156px; text-align: right">
                            Precio Unitario :</td>
                        <td>
                            <asp:TextBox ID="TxtPrecioUnitario" runat="server" Width="200px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 150px; text-align: right; height: 26px;">
                            Cantidad :</td>
                        <td style="width: 199px; text-align: left; height: 26px;">
                            <asp:TextBox ID="TxtCantidad" runat="server" Width="192px"></asp:TextBox></td>
                        <td style="width: 17px; height: 26px;">
                        </td>
                        <td style="width: 156px; text-align: right; height: 26px;">
                            Codigo Item :</td>
                        <td style="height: 26px">
                            <asp:TextBox ID="TxtCodItem" runat="server" Width="200px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 150px; text-align: right">
                            Descripcion :</td>
                        <td style="width: 199px; text-align: left">
                            <asp:TextBox ID="TxtDescripcion" runat="server" Height="184px" Width="192px" TextMode="MultiLine"></asp:TextBox></td>
                        <td style="width: 17px">
                        </td>
                        <td style="width: 156px">
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
                <asp:Label ID="LabelAviso" runat="server" Width="528px"></asp:Label></td>
        </tr>
    </table>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
    <asp:GridView ID="GridGuiaDespacho" runat="server" AutoGenerateColumns="False" CellPadding="4" AutoGenerateEditButton="True"  AutoGenerateDeleteButton ="True"
                     OnRowEditing="GridGuiaDespacho_RowEditing" OnRowUpdating="GridGuiaDespacho_RowUpdating" OnRowCancelingEdit = "GridGuiaDespacho_RowCancelingEdit" OnRowDeleting="GridGuiaDespacho_RowDeleting"
        ForeColor="#333333" GridLines="None" Width="760px">
        <RowStyle BackColor="#EFF3FB" />
        <Columns>
            <asp:BoundField DataField="ITEM" HeaderText="Item">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="CODIGO" HeaderText="C&#243;digo">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="DETALLE" HeaderText="Detalle">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="CANTIDAD" HeaderText="Cantidad">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="PRECIOUNITARIO" HeaderText="Precio Unitario">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
        </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                <table style="border-right: blue thin solid; border-top: blue thin solid; border-left: blue thin solid;
                    width:933px; border-bottom: blue thin solid; position: static">
                    <tr>
                        <td style="text-align: center">
                            <asp:Button ID="Button1" runat="server" Text="Ingresar" /></td>
                        <td style="width: 6px; text-align: center;">
                            <asp:Button ID="Button3" runat="server" Text="Limpiar" /></td>
                        <td style="text-align: center">
                            <asp:Button ID="Button2" runat="server" Text="Validar" /></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </center>
    <br />
    &nbsp;
</asp:Content>

